{% load i18n %}
<!DOCTYPE html PUBLIC "-//W3C//Dli XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/Dli/xhtml1-transitional.dli">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="keywords" content='{% trans "python, django, learning, life, job" %}'>
<title>{{ current_title }}-{% trans "Welcome to visit Tower Joo's Homepage" %}</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
{% block css_comm %}<link rel="stylesheet" href="{{ MEDIA_URL }}css/comm.css" /> {% endblock %}
{% block jquery%}<script type="text/javascript" src="{{MEDIA_URL}}js/jquery.js"></script>{% endblock %}
{% block otherjs%}{% endblock %}
{% block specificjs %}{% endblock %} 
{% block othercss %}{% endblock %}

<!-- (en) Add your meta data here -->
{% block one_col_layout %}
<link href="{{ MEDIA_URL}}css/layout_styling_content.css" rel="stylesheet" type="text/css"/>
{% endblock %}
<!--[if lte IE 7]>
<link href="{{ MEDIA_URL }}css/patches/patch_styling_content.css" rel="stylesheet" type="text/css" />
<![endif]-->
</head>
<body>
<div class="page_margins">
  <div class="page">
    <div id="header">
      <div id="topnav">
        <span>
        {% if user.is_authenticated %}
        <a href="#">
        {% if userinfo and userinfo.nickname %}
                {{ userinfo.nickname }}
        {% else %}
            {{ user.username }}
        {% endif %}
        </a> |
        <a href="#">{% trans "account management" %}</a> |
        <a href="#">{% trans "logout" %}</a> |
        {% else %}
        <a href="#">{% trans "login" %}</a> |
        <a href="#">{% trans "signup" %}</a> |
        {% endif %}
        <a href="/i18n/setlang/?language=zh-CN">{% trans "English" %}</a> |
        <a href="{% url mydocs %}" target="_blank">{% trans "notes about cs(in Chinese)" %}</a> |
        <a href="#">{% trans "contact me" %}</a> | <a href="#">{% trans "about" %}</a></span> </div>
      <h1> 
        <a href="/">
            <img src="{{MEDIA_URL}}images/mindsbook.gif" />
        </a>
      </h1>
      <span>&gt;&gt;&gt;import this
      </span>
      </div>
    <!-- begin: main navigation #nav -->
    <div id="nav">
      <!-- skiplink anchor: navigation -->
      <a id="navigation" name="navigation"></a>
      <div class="hlist">
      {% include "navigation.html" %}
      </div>
    </div>
    <!-- end: main navigation -->
    <!-- begin: main content area #main -->
    <div id="main">
    {% block col1 %}
    {% endblock %}
      <!-- begin: #col3 static column -->
      <div id="col3">
        <div id="col3_content" class="clearfix">
    {% block content %}
    {% endblock %}
        </div>
        <div id="ie_clearing">&nbsp;</div>
        <!-- End: IE Column Clearing -->
      </div>
      <!-- end: #col3 -->
    </div>
    <!-- end: #main -->
    <!-- begin: #footer -->
    <div id="footer">
    <div class="mylist">
        {% include "navigation.html" %}
    </div>
    <div class="copyright">
    {% trans "copyright" %} 2009    {% trans "Tower Joo" %}
    </div>
    <!-- end: #footer -->
    <ul class="language_holder"> 
    {% for lang in LANGUAGES %} 
      <a href="/users/setlang/{{ lang.0 }}/">{{ lang.1 }}</a>&nbsp;&nbsp; 
      {% endfor %} </a></ul>
  </div>
</div>
</body>
</html>
